package com.sunny.原子性.AtomicReference原子性引用;

import com.sunny.anotation.NotThreadSafe;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;

@NotThreadSafe
@Data
@Builder
public class Person {
    private Integer age;

    private Integer name;

    private String sex;

    @Override
    public String toString() {
        return "Person{" +
                "age=" + age +
                ", name=" + name +
                ", sex='" + sex + '\'' +
                '}';
    }
}
